package com.yanqu.road.entity.activity.liondance;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_c_activity_lion_dance_user_data", desc = "玩家制狮进度")
public class CrossLionDanceUserProcessData extends DataObject {

    @FieldTypeAnnotation(desc = "活动ID", select = true, update = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "用户ID", select = true, update = true)
    private long userId;

    @FieldTypeAnnotation(desc = "制狮数量")
    private int makeNum;

    @FieldTypeAnnotation(desc = "制狮进度")
    private int process;

    @FieldTypeAnnotation(desc = "变更时间")
    private long updateTime;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if(this.activityId != activityId) {
            this.activityId = activityId;
            setUpdateOption();
        }
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public int getMakeNum() {
        return makeNum;
    }

    public void setMakeNum(int makeNum) {
        if(this.makeNum != makeNum) {
            this.makeNum = makeNum;
            setUpdateOption();
        }
    }

    public int getProcess() {
        return process;
    }

    public void setProcess(int process) {
        if(this.process != process) {
            this.process = process;
            setUpdateOption();
        }
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        if(this.updateTime != updateTime) {
            this.updateTime = updateTime;
            setUpdateOption();
        }
    }
}
